package com.javaweb.dao.impl;

import com.javaweb.dao.RoleDao;
import com.javaweb.model.Permission;
import com.javaweb.model.Role;

import java.util.List;

/**
 * @desc:
 * @author: Ping
 * @date: 2024/9/24 22:44
 */

/**
 * todo:完成如下所有方法
 */
public class RoleDaoImpl implements RoleDao {
    @Override
    public Integer insert(Role role) {
        return null;
    }

    @Override
    public Integer insertRolePerm(Role role, Permission perm) {
        return null;
    }

    @Override
    public List<Role> selectRolesByUserName(String username) {
        return null;
    }

    @Override
    public List<Role> selectRolesByUserId(int userId) {
        return null;
    }

    @Override
    public void deleteByRoleId(int roleId) {

    }

    @Override
    public void deleteUserRole(int userId, int roleId) {

    }
}
